/*
 * MadHelix is a Java Swing-based GUI frontend for SoundHelix.
 * Copyright (C) 2017-2019, 2023 UltrasonicMadness
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 3 only,
 * as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package org.ultrasonicmadness.madhelix.utils;

public class VersionUtils {
    public static final byte MAJOR = 0;
    public static final byte MINOR = 4;
    public static final byte BUGFIX = 0;

    // Kept for compatibility and possible future use.
    public static final String VERSION_NAME = "Adaptable Edition";

    public static String getMadHelixVersionAsString() {
        return String.format("%d.%d.%d", MAJOR, MINOR,
                BUGFIX);
    }

    public static String getSoundHelixVersionAsString() {
        // There's a SoundHelix module which shares the name VersionUtils
        // so the whole package name is needed here
        return com.soundhelix.util.VersionUtils.getVersion();
    }
}
